package com.lin.chapter33.chapter1.facade;

import java.util.Date;

public class Client {
	public static void main(String[] args) {
		HRFacade facade = new HRFacade();
		System.out.println("===外系统查询总收入===");
		int salary = facade.querySalary("张三", new Date());
		System.out.println("张三 2月 总收入为：" + salary);
		System.out.println("\n===外系统查询出勤天数===");
		int workDays = facade.queryWorkDays("李四");
		System.out.println("李四本月出勤：" + workDays);
	}
}
